package com.reading_recognition_system.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class History {

    @JsonProperty("hId")
    private int hId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date timestamp;
    private String record;

    @JsonProperty("uId")
    private int uId;
}
